<template>
	<view class="activity">
		<activityVue :data="store.activity" />
	</view>
</template>

<script setup>
import { onMounted } from 'vue';
import { storeToRefs } from 'pinia';
import activityVue from '../../components/activity.vue';
import { useHomeStore } from '../../stores/homeStore.js';
const store = useHomeStore();
onMounted(() => {
	store.getActivityData();
});
</script>

<style lang="scss">
.activity {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 0 30rpx;
	background-color: #fff;
	overflow: auto;
}
</style>
